from fastapi import APIRouter, requests

product_router = APIRouter()


@product_router.get("/get")
def product_get():
    return {
        "code": 200,
        "message": "get product"
    }


@product_router.get("/get_product_by_id")
async def product_get_by_id(product_id):
    return {
        "code": 200,
        "message": "get product by id",
        "data": {
            "product_id": product_id
        }
    }
